package com.example.administrator.personalmail.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

@Entity
public class Address implements Serializable{
    static final long serialVersionUID = 536871008;
    @Id(autoincrement = true)
    private Long ID;
    private String name;
    private String phone;
    private String address;
    private String addressDetail;
    @Generated(hash = 579751117)
    public Address(Long ID, String name, String phone, String address,
            String addressDetail) {
        this.ID = ID;
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.addressDetail = addressDetail;
    }
    @Generated(hash = 388317431)
    public Address() {
    }
    public Long getID() {
        return this.ID;
    }
    public void setID(Long ID) {
        this.ID = ID;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getAddressDetail() {
        return this.addressDetail;
    }
    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

}
